package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 考评添加request
 *
 * @author luokexiong
 * @version 1.0 2021/3/5
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppraiseAddRequest {
    @Size(min = 1, max = 20)
    @NotNull
    private List<Long> userIds;
    @ApiModelProperty(value = "考评日期", example = "2021-3-7 12:00:00")
    @NotNull
    private Long appraiseDate;
    @ApiModelProperty(value = "考评内容", example = "内容")
    @NotBlank
    private String content;
    @ApiModelProperty(value = "备注", example = "内容")
    private String remark;
}
